

import ajax from '@/utils/request'

import '@/mock/ykx.js'

// 获取数据
export function getProList(){
    return ajax({
        url:'/getListData'
    })
}
// console.log(data);

//添加数据
export function addItem(data){
    return ajax ({
        url:'/addItem',
        methods:'post',
        data
      
    })
}


//添加数据
export function editItem(data){
    return ajax ({
        url:'/edit',
        methods:'post',
        data
      
    })
}


//删除数据
export function delItem(data){
    return ajax ({
        url:'/delAtten',
        methods:'post',
        data
      
    })
}




